home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 6
/
Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso
/
023a
/
icsp.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1991-09-12
|
3KB
|
90 lines
ECHO OFF
CLS
IF %1==F GOTO FLOPINS
IF %1==H GOTO HARDINS1
CLS
GO
:FLOPINS
ECHO OFF
CLS
ECHO Instructions for installing the program:
echo
ECHO Create three ready-to-run disks (execute from drive B:)
ECHO Label three disks as follows:
ECHO Disk 1: SALES-A {--- This is the 'HELP' disk
ECHO Disk 2: SALES-B {--- This is the 'PROGRAM' disk.
ECHO Contains SERVICE.EXE & SERVICE.OVL
ECHO Disk 3: SALESDOC {--- This is the Tutorial
echo
ECHO Disk 1 should be formatted as a 'bootable' disk, with this command:
ECHO FORMAT A:/S
echo
ECHO To verify if your disk is 'bootable', check for the existence of a file
ECHO named 'COMMAND.COM'. The format instruction above should have placed
ECHO this file onto your 'bootable disk'. The other 2 disks will be formatted
ECHO with the standard format command: FORMAT A:
ECHO If you want to stop this procedure now to format the 3 disks, enter
ECHO CONTROL-C. Enter any other key to continue.
PAUSE
CLS
IF %2==1 GOTO FLOPINS1
IF %2==2 GOTO FLOPINS2
CLS
ECHO This floppy installation requires that you enter either a '1' or a '2',
ECHO following your 'GO F' instruction.
GOTO END
:FLOPINS2
ECHO Enter disk 1, SALES-A, into drive A now.
PAUSE
A:
B:PKUNZIP -X B:SALE-B41.ZIP *.DB?
B:PKUNZIP -X B:SALE-B41.ZIP *.COM
B:PKUNZIP -X B:SALE-A41.ZIP AUTOFLOP.BAT
B:PKUNZIP -X B:SALE-A41.ZIP INSTALL.DOC
B:PKUNZIP -X B:SALE-A41.ZIP DEMO.DOC
B:PKUNZIP -X B:SALE-A41.ZIP REMOTE1.DOC
B:PKUNZIP -X B:SALE-A41.ZIP FOREIGN.DOC
B:PKUNZIP -X B:SALE-A41.ZIP NATIVE.DOC
COPY AUTOFLOP.BAT AUTOEXEC.BAT
CLS
ECHO Enter disk 2, SALES-B, into drive A now.
PAUSE
A:
B:PKUNZIP -X B:SALE-A41.ZIP *.LBL
B:PKUNZIP -X B:SALE-A41.ZIP PROSPECT.EXE
B:PKUNZIP -X B:SALE-A41.ZIP GO-FL.BAT
COPY GO-FL.BAT GO.BAT
DEL GO-FL.BAT
B:
CLS
ECHO Insert 'Disk 2' with GO2 into drive B now.
echo
ECHO Enter: GO2
GOTO END
:FLOPINS1
ECHO Beginning with version 3.0 of this program, the executable files have
ECHO become so large that the low density option of 360KB is no longer supported.
GOTO END
:HARDINS1
CLS
echo
ECHO This procedure will install all files onto your hard disk, drive %2
ECHO and will create a subdirectory, \SERVICE.
echo
%2:
CD \
MKDIR SERVICE
CD SERVICE
COPY A:ECOH.COM >TMP
COPY A:YESNO.COM >TMP
COPY A:MAINTA40.EXE >TMP
MAINTA40
DEL MAINTA40.EXE
COPY A:MAINTB40.EXE >TMP
MAINTB40
DEL MAINTB40.EXE
CLS
A:
CLS
INSTALL2 H %2